#pragma once

struct	sVertex
{
	D3DXVECTOR3 D3_PositionVector;
	D3DXVECTOR3 D3_NormalVector;
	D3DXVECTOR2 D2_TextureVector;
};
struct	sRotation
{
	float roll;		//X
	float pitch;	//Y
	float yaw;		//Z
	
	sRotation():roll(0),pitch(0),yaw(0){};

	sRotation(float x, float y, float z)
		:pitch(x),
		yaw(y),
		roll(z)
	{};
	void Set(float pitch,float yaw,float roll)
	{
		this->pitch = pitch;
		this->yaw = yaw;
		this->roll = roll;
	}
	bool empty()
	{
		if(pitch == NULL
		&& yaw == NULL
		&& roll == NULL)
			return true;
		return false;
	}
	void clear()
	{
		pitch = NULL;
		yaw = NULL;
		roll = NULL;
	}
};
struct	TexturePack		// small struct containing a pointer to the texture and its image info
{
	LPDIRECT3DTEXTURE9	lpTexture;
	D3DXIMAGE_INFO		imgInfo;

	inline bool operator==(TexturePack comparee)
	{
		if(this->lpTexture == comparee.lpTexture)
		{
			return true;
		}
		return false;
	}
};